home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group96a.txt / 000049_icon-group-sender _Mon Feb 12 11:01:15 1996.msg < prev    next >
Internet Message Format  |  1996-09-05  |  2KB

  1. Received: by cheltenham.cs.arizona.edu; Mon, 12 Feb 1996 17:25:53 MST
  2. To: icon-group@cs.arizona.edu
  3. Date: 12 Feb 1996 11:01:15 -0800
  4. From: Steven L Baur <steve@miranova.com>
  5. Message-Id: <m291i85pxg.fsf@miranova.com>
  6. Organization: Miranova Systems, Inc.
  7. Sender: icon-group-request@cs.arizona.edu
  8. References: <4fdi85$4b7o@yuma.ACNS.ColoState.EDU>
  9. Subject: Re: Compiling ELF binaries for Linux1.2.13
  10. Errors-To: icon-group-errors@cs.arizona.edu
  11. Status: O
  12.  
  13. >>>>> "John" == John Miller <millejoh@holly.ColoState.EDU> writes:
  14.  
  15. John> Gerhard Brey (G.Brey@lrz.uni-muenchen.de) wrote:
  16. John> : In article <4fg0jp$1vd6@pulp.ucs.ualberta.ca> michal@gortel.phys.ualberta.ca (Michal Jaegermann) writes:
  17.  
  18. John> : > 
  19. John> : > Gerhard Brey (G.Brey@lrz.uni-muenchen.de) wrote:
  20. John> : > : In article <4fdi85$4b7o@yuma.ACNS.ColoState.EDU> millejoh@holly.ColoState.EDU (John Miller) writes:
  21. John> : > 
  22. John> : > : >     unidentified symbols in rswitch.o -- namely new_context and syserr.
  23. John> : > 
  24. John> : > :  I guess
  25. John> : > : (but I am not a C- or Assembler-programmer) that the problem has to do
  26. John> : > : with the Assembler code in rswitch.s.
  27. John> : > 
  28. John> : > If the problem is caused by symbols from an assembler code then most
  29. John> : > likely it is a trivial one.  Elf symbols do not have prepended '_'
  30. John> : > character; assembler likely assumes that they do.  Just adjust names.
  31. John> : > 
  32. John> : Thanks for the advice. I deleted the `_' in front of the symbol names
  33. John> : in rswitch.s. Now `iconx' is built but there is still the
  34.  
  35. John> : bfd assertion fail /opt/release/pub/bin/binutils/bfd/elf32-i386.c:624
  36.  
  37. John> : and when I try to execute `iconx' it stops with a segmentation fault.
  38.  
  39. John> : Gerhard
  40.  
  41. John> I'm getting exactly the same results.  I'll search around comp.os.linux.*
  42. John> and see what I can come up with.  Wish me luck!
  43.  
  44. I've submitted configuration information to the Icon project for
  45. getting Icon going with Linux ELF.  The two main things to watch out
  46. for are the prepended _ in symbol names (for the assembly language
  47. routine in rswitch.s), and you *must* avoid the strength-reduce Gcc
  48. optimization bug by using the switch -fno-strength-reduce when you
  49. compile.
  50.  
  51. The configuration I used is available at
  52.     ftp://ftp.miranova.com/pub/icon.linux.elf.tar.gz
  53.  
  54. Regards,
  55. -- 
  56. steve@miranova.com baur
  57. Unsolicited commercial e-mail will be proofread for $250/hour.
  58.